package com.example.oss.storage;

import java.io.InputStream;

public interface IStorage {

    //上传文件
    void putObject(String bucketName, String objectName, InputStream inputStream, String contentType);

    InputStream getObject(String buckName, String objectName);

    String getPublicObjectUrl(String buckName, String objectName);

    String getSignedObjectUrl(String buckName, String objectName);


}
